<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>六西格玛知识管理</title>
<link href="<?php echo $this->baseUrl ?>/public/style/style.css" rel="stylesheet" type="text/css">
</head>

<body>
<!--头部-->
<?php echo $this->partial('common/header.html', array('template'=>$this->template, 'baseUrl'=>$this->baseUrl)) ?>

<!--主体-->
<div class="main-box" id="mainBox">
  <div class="third-menu">
    <?php echo $this->partial('common/operation.html', array('template'=>$this->template, 'baseUrl'=>$this->baseUrl)) ?>
  	<div class="menu-title"><span class="icon"></span>专业列表页</div>
  </div>
  <div class="search">
  	<form method="get" action="" name="search">
        <label>专业名称:</label>
        <input type="text" class="input" name="search_name" />
        <input type="submit" class="submit input" value="搜 索" />
    </form>
  </div>
  <div class="main-list">
  	<table class="main-list-table">
    	<?php if ($this->departments): ?>
    	<tr class="table-head"><td class="th-name">专业名称</td><td class="th-console">操 作</td></tr>
        <tr class="table-point"><td></td><td></td><td></td><td></td><td></td></tr>
        <?php foreach ($this->departments as $key => $val): ?>
        <tr>
        	<td class="name">
            <?php echo $val['name']; ?>
            </td>
            <td><div class="console"><a href="<?php echo $this->baseUrl ?>/department/edit?id=<?php echo $val['id']; ?>" class="edit">修改</a> <a href="<?php echo $this->baseUrl ?>/department/delete?id=<?php echo $val['id']; ?>" class="delete" onClick="return confirm('您确定要删除吗？')?true:false;">删除</a></div></td>
        </tr>
        <?php endforeach; ?>
        <?php else: ?>
        暂无信息
        <?php endif; ?>
    </table>
  </div>
</div>











<!--底部-->
<?php echo $this->partial('common/footer.html') ?>
</body>
</html>
